import os
import qrcode

img = qrcode.make("https://www.bilibili.com/video/BV1Hr421F7VC?spm_id_from=333.788.player.switch&vd_source=2315c52c044c57c18ba5fc1c3bfe3ca8&p=7")

img.save("qr.png", "PNG")

os.system("open qr.png")
